Nebula Labs API v0.1.0 (Depreciated)
Nebula Labs API v0.1.0
This is the full open API Specification. If you want to know something about the API and weren't able to find it elsewhere in our documentation, you should be able to find it here, just with less examples and detail.
If there is an issue or you are still unable to find what you are looking forward, please reach out to engineering@utdnebula.com
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
The public Nebula Labs API for access to pertinent UT Dallas data
Email: Eric Boysen License: MIT License
Default
get__course
Code samples
# You can also use wget
curl -X GET /course \
-H 'Accept: application/json'
GET /course HTTP/1.1
Accept: application/json
const headers = {
Accept: 'application/json',
};
fetch('/course', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/course',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/course', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/course', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/course");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/course", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /course
Returns all courses matching the query's string-typed key-value pairs
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
course_number | query | string | false | The course's official number |
subject_prefix | query | string | false | The course's subject prefix |
title | query | string | false | The course's title |
description | query | string | false | The course's description |
school | query | string | false | The course's school |
credit_hours | query | string | false | The number of credit hours awarded by successful completion of the course |
class_level | query | string | false | The level of education that this course course corresponds to |
activity_type | query | string | false | The type of class this course corresponds to |
grading | query | string | false | The grading status of this course |
internal_course_number | query | string | false | The internal (university) number used to reference this course |
lecture_contact_hours | query | string | false | The weekly contact hours in lecture for a course |
offering_frequency | query | string | false | The frequency of offering a course |
Example responses
200 Response
[
{
"_id": "string",
"course_number": "string",
"subject_prefix": "string",
"title": "string",
"description": "string",
"school": "string",
"credit_hours": "string",
"class_level": "string",
"activity_type": "string",
"grading": "string",
"internal_course_number": "string",
"prerequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"lecture_contact_hours": "string",
"laboratory_contact_hours": "string",
"offering_frequency": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A list of courses | Inline |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Course] | false | none | none |
» _id | string | true | none | none |
» course_number | string | true | none | none |
» subject_prefix | string | true | none | none |
» title | string | true | none | none |
» description | string | true | none | none |
» school | string | true | none | none |
» credit_hours | string | true | none | none |
» class_level | string | true | none | none |
» activity_type | string | true | none | none |
» grading | string | true | none | none |
» internal_course_number | string | true | none | none |
» prerequisites | object | false | none | none |
»» name | string | true | none | none |
»» required | integer | true | none | none |
»» options | [Requirement] | true | none | none |
»»» type | any | true | none | none |
allOf - discriminator: type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
»» anonymous | object | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
»» anonymous | object | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» corequisites | object | false | none | none |
» lecture_contact_hours | string | true | none | none |
» laboratory_contact_hours | string | true | none | none |
» offering_frequency | string | true | none | none |
get_course{id}
Code samples
# You can also use wget
curl -X GET /course/{id} \
-H 'Accept: application/json'
GET /course/{id} HTTP/1.1
Accept: application/json
const headers = {
Accept: 'application/json',
};
fetch('/course/{id}', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/course/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/course/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/course/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/course/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/course/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /course/{id}
Returns the course with given ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | ID of the course to get |
Example responses
200 Response
{
"_id": "string",
"course_number": "string",
"subject_prefix": "string",
"title": "string",
"description": "string",
"school": "string",
"credit_hours": "string",
"class_level": "string",
"activity_type": "string",
"grading": "string",
"internal_course_number": "string",
"prerequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"lecture_contact_hours": "string",
"laboratory_contact_hours": "string",
"offering_frequency": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A course | Course |
get_degree{id}
Code samples
# You can also use wget
curl -X GET /degree/{id}
GET /degree/{id} HTTP/1.1
fetch('/degree/{id}', {
method: 'GET',
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
result = RestClient.get '/degree/{id}',
params: {
}
p JSON.parse(result)
import requests
r = requests.get('/degree/{id}')
print(r.json())
<?php
require 'vendor/autoload.php';
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/degree/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/degree/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/degree/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /degree/{id}
Returns the degree with given ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | ID of the degree to get |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A degree | None |
get__exam
Code samples
# You can also use wget
curl -X GET /exam \
-H 'Accept: application/json'
GET /exam HTTP/1.1
Accept: application/json
const headers = {
Accept: 'application/json',
};
fetch('/exam', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/exam',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/exam', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/exam', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/exam");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/exam", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /exam
Returns all exams matching the query's string-typed key-value pairs
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
type | query | string | false | The type of exam |
name | query | string | false | The name of the exam |
level | query | string | false | The level of the IB exam (should it be an IB exam) |
Example responses
200 Response
[
{
"_id": "string",
"type": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A list of exams | Inline |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Exam] | false | none | none |
» _id | string | true | none | none |
» type | string | true | none | none |
get_exam{id}
Code samples
# You can also use wget
curl -X GET /exam/{id} \
-H 'Accept: application/json'
GET /exam/{id} HTTP/1.1
Accept: application/json
const headers = {
Accept: 'application/json',
};
fetch('/exam/{id}', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/exam/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/exam/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/exam/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/exam/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/exam/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /exam/{id}
Returns the exam with given ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | ID of the exam to get |
Example responses
200 Response
{
"_id": "string",
"type": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | An exam | Exam |
get__professor
Code samples
# You can also use wget
curl -X GET /professor \
-H 'Accept: application/json'
GET /professor HTTP/1.1
Accept: application/json
const headers = {
Accept: 'application/json',
};
fetch('/professor', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/professor',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/professor', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/professor', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/professor");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/professor", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /professor
Returns all professors matching the query's string-typed key-value pairs
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
first_name | query | string | false | The professor's first name |
last_name | query | string | false | The professor's last name |
titles | query | string | false | One of the professor's title |
query | string | false | The professor's email address | |
phone_number | query | string | false | The professor's phone number |
office.building | query | string | false | The building of the location of the professor's office |
office.room | query | string | false | The room of the location of the professor's office |
office.map_uri | query | string | false | A hyperlink to the UTD room locator of the professor's office |
profile_uri | query | string | false | A hyperlink pointing to the professor's official university profile |
image_uri | query | string | false | A link to the image used for the professor on the professor's official university profile |
office_hours.start_date | query | string | false | The start date of one of the office hours meetings of the professor |
office_hours.end_date | query | string | false | The end date of one of the office hours meetings of the professor |
office_hours.meeting_days | query | string | false | One of the days that one of the office hours meetings of the professor |
office_hours.start_time | query | string | false | The time one of the office hours meetings of the professor starts |
office_hours.end_time | query | string | false | The time one of the office hours meetings of the professor ends |
office_hours.modality | query | string | false | The modality of one of the office hours meetings of the professor |
office_hours.location.building | query | string | false | The building of one of the office hours meetings of the professor |
office_hours.location.room | query | string | false | The room of one of the office hours meetings of the professor |
office_hours.location.map_uri | query | string | false | A hyperlink to the UTD room locator of one of the office hours meetings of the professor |
sections | query | string | false | The _id of one of the sections the professor teaches |
Example responses
200 Response
[
{
"_id": "string",
"first_name": "string",
"last_name": "string",
"titles": ["string"],
"email": "string",
"phone_number": "string",
"office": {
"building": "string",
"room": "string",
"map_uri": "string"
},
"profile_uri": "string",
"image_uri": "string",
"office_hours": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"sections": ["string"]
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A list of professors | Inline |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Professor] | false | none | none |
» _id | string | true | none | none |
» first_name | string | true | none | none |
» last_name | string | true | none | none |
» titles | [string] | false | none | none |
string | true | none | none | |
» phone_number | string | false | none | none |
» office | object | false | none | none |
»» building | string | false | none | none |
»» room | string | false | none | none |
»» map_uri | string | false | none | none |
» profile_uri | string | false | none | none |
» image_uri | string | false | none | none |
» office_hours | [Meeting] | false | none | none |
»» start_date | string | false | none | none |
»» end_date | string | false | none | none |
»» meeting_days | [string] | false | none | none |
»» start_time | string | false | none | none |
»» end_time | string | false | none | none |
»» modality | string | false | none | none |
»» location | object | false | none | none |
» sections | [string] | false | none | none |
get_professor{id}
Code samples
# You can also use wget
curl -X GET /professor/{id} \
-H 'Accept: application/json'
GET /professor/{id} HTTP/1.1
Accept: application/json
const headers = {
Accept: 'application/json',
};
fetch('/professor/{id}', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/professor/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/professor/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/professor/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/professor/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/professor/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /professor/{id}
Returns the professor with given ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | ID of the professor to get |
Example responses
200 Response
{
"_id": "string",
"first_name": "string",
"last_name": "string",
"titles": ["string"],
"email": "string",
"phone_number": "string",
"office": {
"building": "string",
"room": "string",
"map_uri": "string"
},
"profile_uri": "string",
"image_uri": "string",
"office_hours": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"sections": ["string"]
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A professor | Professor |
get__section
Code samples
# You can also use wget
curl -X GET /section \
-H 'Accept: application/json'
GET /section HTTP/1.1
Accept: application/json
const headers = {
Authorization: { API_KEY },
Accept: 'application/json',
};
fetch('/section', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/section',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/section', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/section', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/section");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/section", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /section
Returns all courses matching the query's string-typed key-value pairs
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
section_number | query | string | false | The section's official number |
course_reference | query | string | false | An id that points to the course in MongoDB that this section is an instantiation of |
academic_session.name | query | string | false | The name of the academic session of the section |
academic_session.start_date | query | string | false | The date of classes starting for the section |
academic_session.end_date | query | string | false | The date of classes ending for the section |
professors | query | string | false | One of the professors teaching the section |
teaching_assistants.first_name | query | string | false | The first name of one of the teaching assistants of the section |
teaching_assistants.last_name | query | string | false | The last name of one of the teaching assistants of the section |
teaching_assistants.role | query | string | false | The role of one of the teaching assistants of the section |
teaching_assistants.email | query | string | false | The email of one of the teaching assistants of the section |
internal_class_number | query | string | false | The internal (university) number used to reference this section |
instruction_mode | query | string | false | The instruction modality for this section |
meetings.start_date | query | string | false | The start date of one of the section's meetings |
meetings.end_date | query | string | false | The end date of one of the section's meetings |
meetings.meeting_days | query | string | false | One of the days that one of the section's meetings |
meetings.start_time | query | string | false | The time one of the section's meetings starts |
meetings.end_time | query | string | false | The time one of the section's meetings ends |
meetings.modality | query | string | false | The modality of one of the section's meetings |
meetings.location.building | query | string | false | The building of one of the section's meetings |
meetings.location.room | query | string | false | The room of one of the section's meetings |
meetings.location.map_uri | query | string | false | A hyperlink to the UTD room locator of one of the section's meetings |
core_flags | query | string | false | One of core requirement codes this section fulfills |
syllabus_uri | query | string | false | A link to the syllabus on the web |
Example responses
200 Response
[
{
"_id": "string",
"section_number": "string",
"course_reference": "string",
"section_corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"academic_session": {
"name": "string",
"start_date": "string",
"end_date": "string"
},
"professors": ["string"],
"teaching_assistants": [
{
"first_name": "string",
"last_name": "string",
"role": "string",
"email": "string"
}
],
"internal_class_number": "string",
"instruction_mode": "string",
"meetings": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"core_flags": ["string"],
"syllabus_uri": "string",
"grade_distribution": [0]
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A list of sections | Inline |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Section] | false | none | none |
» _id | string | true | none | none |
» section_number | string | true | none | none |
» course_reference | string | true | none | none |
» section_corequisites | object | false | none | none |
»» name | string | true | none | none |
»» required | integer | true | none | none |
»» options | [Requirement] | true | none | none |
»»» type | any | true | none | none |
allOf - discriminator: type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
»» anonymous | object | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
»» anonymous | object | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» academic_session | object | true | none | none |
»» name | string | false | none | none |
»» start_date | string | false | none | none |
»» end_date | string | false | none | none |
» professors | [string] | true | none | none |
» teaching_assistants | [Assistant] | false | none | none |
»» first_name | string | false | none | none |
»» last_name | string | false | none | none |
»» role | string | false | none | none |
string | false | none | none | |
» internal_class_number | string | true | none | none |
» instruction_mode | string | true | none | none |
» meetings | [Meeting] | true | none | none |
»» start_date | string | false | none | none |
»» end_date | string | false | none | none |
»» meeting_days | [string] | false | none | none |
»» start_time | string | false | none | none |
»» end_time | string | false | none | none |
»» modality | string | false | none | none |
»» location | object | false | none | none |
»»» building | string | false | none | none |
»»» room | string | false | none | none |
»»» map_uri | string | false | none | none |
» core_flags | [string] | false | none | none |
» syllabus_uri | string | true | none | none |
» grade_distribution | [integer] | false | none | none |
get_section{id}
Code samples
# You can also use wget
curl -X GET /section/{id} \
-H 'Accept: application/json'
GET /section/{id} HTTP/1.1
Accept: application/json
const headers = {
Accept: 'application/json',
};
fetch('/section/{id}', {
method: 'GET',
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/section/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/section/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/section/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/section/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/section/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /section/{id}
Returns the section with given ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | ID of the section to get |
Example responses
200 Response
{
"_id": "string",
"section_number": "string",
"course_reference": "string",
"section_corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"academic_session": {
"name": "string",
"start_date": "string",
"end_date": "string"
},
"professors": ["string"],
"teaching_assistants": [
{
"first_name": "string",
"last_name": "string",
"role": "string",
"email": "string"
}
],
"internal_class_number": "string",
"instruction_mode": "string",
"meetings": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"core_flags": ["string"],
"syllabus_uri": "string",
"grade_distribution": [0]
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A section | Section |
Schemas
ALEKSExam
The ALEXS Exam is an exam required by all students for math placement upon admittance to the University. This Exam is used in lieu of credit for lower level math courses in the University.
{
"placement": [
{
"requirement": {
"type": null
},
"outcome": [["string"]]
}
],
"_id": "string",
"type": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
placement | [Outcome] | true | none | An array of Outcomes for which the placement into the Course is earned. Does not include credit, only placement into the course. |
allOf - discriminator: Exam.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Exam | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
APExam
AP Exams are exams offered by College Board that are taken prior to college in order to earn college credit. Depending upon the score received, a student may be able to obtain different levels of credit for their success on the exam.
{
"name": "string",
"yields": [
{
"requirement": {
"type": null
},
"outcome": [["string"]]
}
],
"_id": "string",
"type": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | true | none | The name of the exam |
yields | [Outcome] | true | none | An array of Outcomes for which the credit for the Course or Credit is received. Does not include placement, only actual credit. |
allOf - discriminator: Exam.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Exam | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
AcademicSession
An AcademicSession represents the time period in which courses takes place. This is normally most closely associated with a semester
{
"name": "string",
"start_date": "string",
"end_date": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | false | none | The name of the academic session in question. |
start_date | string | false | none | The date of classes starting in the academic session. |
end_date | string | false | none | The date of classes ending in the academic session. |
Assistant
An 'Assistant' represents a teaching assistant at UT Dallas.
{
"first_name": "string",
"last_name": "string",
"role": "string",
"email": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
first_name | string | false | none | The first name of the assistant. |
last_name | string | false | none | The last name of the assistant. |
role | string | false | none | The role of the assistant. |
string | false | none | The email address to contact the assistant. |
CLEPExam
CLEP Exams are exams offered by College Board that are taken before or during college in order to earn college credit. Depending upon the score received, a student may be able to obtain different levels of credit for their success on the exam.
{
"name": "string",
"yields": [
{
"requirement": {
"type": null
},
"outcome": [["string"]]
}
],
"_id": "string",
"type": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | true | none | The name of the exam |
yields | [Outcome] | true | none | An array of Outcomes for which the credit for the Course or Credit is received. Does not include placement, only actual credit. |
allOf - discriminator: Exam.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Exam | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
CSPlacementExam
The CS Placement Exam is an exam required of Computer Science students upon entry to the Erik Johnsson School of Computer Science. This exam can be used to place out of entry level computer science courses and obtain credit for them instead.
{
"yields": [
{
"requirement": {
"type": null
},
"outcome": [["string"]]
}
],
"_id": "string",
"type": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
yields | [Outcome] | true | none | An array of Outcomes for which the credit for the Course or Credit is received. Does not include placement, only actual credit. |
allOf - discriminator: Exam.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Exam | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
ChoiceRequirement
{
"choices": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
choices | CollectionRequirement | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
CollectionRequirement
{
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | true | none | none |
required | integer | true | none | none |
options | [Requirement] | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
ConsentRequirement
{
"granter": "string",
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
granter | string | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
CoreRequirement
{
"core_flag": "string",
"hours": 0,
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
core_flag | string | true | none | none |
hours | integer | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
Courses
Courses lay one level of abstraction above sections in the academic hierarchy at UTD. A course represents a class offered by a school at UTD.
A Course should not be confused with a Section which is the actual instantiation of a Course with a professor and dedicated meeting times.A course can have multiple sections associated with it every semester. An example of a course would be ECS1100.
This data will include important pieces of information that a relevant to every section of the course like its prerequisites and the number of credit hours. All of the attributes associated with a course are as follows:
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
_id | string | true | none | The primary key associated with a course |
course_number | string | true | none | The course's official number |
subject_prefix | string | true | none | The course's subject prefix |
title | string | true | none | The course's title |
description | string | true | none | The course's description |
school | string | true | none | The course's school |
credit_hours | string | true | none | The number of credit hours awarded by successful completion of the course |
class_level | string | true | none | The level of education that this course course corresponds to |
activity_type | string | true | none | The type of class this course corresponds to |
grading | string | true | none | The grading status of this course |
internal_course_number | string | true | none | The internal (university) number used to reference this course |
prerequisites | CollectionRequirement | false | none | A Collection Requirement object containing a list of the courses that must be taken before this course |
corequisites | CollectionRequirement | false | none | A Collection Requirement object containing a list of the courses that must be taken before or alongside this course |
lecture_contact_hours | string | true | none | The weekly contact hours in lecture for a course |
laboratory_contact_hours | string | true | none | The weekly contact hours in laboratory for a course |
offering_frequency | string | true | none | The frequency of offering a course. The meanings of each letter can be found in the UTD Course Policies page. Example: "S", "Y", "T", "R" course |
{
"_id": "string",
"course_number": "string",
"subject_prefix": "string",
"title": "string",
"description": "string",
"school": "string",
"credit_hours": "string",
"class_level": "string",
"activity_type": "string",
"grading": "string",
"internal_course_number": "string",
"prerequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"lecture_contact_hours": "string",
"laboratory_contact_hours": "string",
"offering_frequency": "string"
}
CourseRequirement
{
"class_reference": "string",
"minimum_grade": "string",
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
class_reference | string | true | none | none |
minimum_grade | string | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
Credit
The Credit object represents an amount of 'semester credit hours' given by The University of Texas at Dallas. A Credit should not be confused with a Course as semester credit hours serve only to fulfill credit hour requirements.
{
"category": "string",
"credit_hours": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
category | string | true | none | The category of the credit hours. If there is no category associated with the credit, the value is "general". "free" is a valid category. |
credit_hours | int | true | none | The number of credit hours. |
Exam
The default exam interface whose attributes are inherited by all other exam types.
{
"_id": "string",
"type": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
_id | string | true | none | The MongoDB database id for the Exam object. |
type | string | true | none | The type of exam object this object represents. |
ExamRequirement
{
"exam_reference": "string",
"minimum_score": 0,
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
exam_reference | string | true | none | none |
minimum_score | integer | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
GPARequirement
{
"subset": "string",
"minimum": 0,
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
subset | string | false | none | none |
minimum | number | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
HoursRequirement
{
"required": 0,
"options": [
{
"class_reference": "string",
"minimum_grade": "string",
"type": null
}
],
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
required | integer | true | none | none |
options | [CourseRequirement] | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
IBExam
International Baccalaureate (IB) Exams are exams offered by the IBO for students in secondary education to obtain credit for university level credit. Depending upon the score received on these exams, a student may be eligible for credit that can replace other required courses in their degree plan.
{
"name": "string",
"level": "string",
"yields": [
{
"requirement": {
"type": null
},
"outcome": [["string"]]
}
],
"_id": "string",
"type": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | true | none | The name of the exam |
level | string | true | none | The level of the IB exam. |
yields | [Outcome] | true | none | An array of Outcomes for which the credit for the Course or Credit is received. Does not include placement, only actual credit. |
allOf - discriminator: Exam.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Exam | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
LimitRequirement
{
"max_hours": 0,
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
max_hours | integer | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
Location
A location on the UT Dallas campus.
{
"building": "string",
"room": "string",
"map_uri": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
building | string | false | none | The building of the location. |
room | string | false | none | The room of the location. |
map_uri | string | false | none | A hyperlink to the UTD room locator. |
MajorRequirement
{
"major": "string",
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
major | string | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
Meeting
A 'Meeting' represents a recurring meeting. This schema can represent both recurring meetings and single meetings. Meetings occur repeatedly on the specified days of the week during a period. Non-recurring meetings should have the start_date equal to the end_date.
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
start_date | string | false | none | The start date of a meeting. |
end_date | string | false | none | The end date of a meeting. |
meeting_days | [string] | false | none | A list of all days the meeting occurs during the time period. |
start_time | string | false | none | The time the meeting starts on each meeting day. |
end_time | string | false | none | The time a meeting ends on each meeting day. |
modality | string | false | none | The modality of the meeting following the modality types in UTD's CourseBook. |
location | Location | false | none | The location of the meeting. |
MinorRequirement
{
"minor": "string",
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
minor | string | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
OtherRequirement
{
"description": "string",
"condition": "string",
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
description | string | true | none | none |
condition | string | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |
Outcome
An outcome describes the credit or course awarded for completion of an exam. It can fulfill an ExamRequirement, CourseRequirement, or result in some Credit awarded.
{
"requirement": {
"type": null
},
"outcome": [["string"]]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
requirement | Requirement | true | none | The requirement to achieve the associated outcome |
outcome | [array] | true | none | The set of sets of Courses and Credits which can result (awarded/placed into) should the requirement be met. The outer array contains the possible choices. |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | Credit | false | none | none |
Professor
Professors are a representation of an instructor on campus for a Course. Professors can be queried to find information regarding their professional information and office hours information.
{
"_id": "string",
"first_name": "string",
"last_name": "string",
"titles": ["string"],
"email": "string",
"phone_number": "string",
"office": {
"building": "string",
"room": "string",
"map_uri": "string"
},
"profile_uri": "string",
"image_uri": "string",
"office_hours": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"sections": ["string"]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
_id | string | true | none | The MongoDB database id for the Professor object. |
first_name | string | true | none | The professor's first name. |
last_name | string | true | none | The professor's last name. |
titles | [string] | false | none | The professor's titles. Example: ["Senior Mathematics Lecturer"], ["Lars Magnus Ericsson Chair", "Dean – Erik Jonsson School of Engineering and Computer Science"] |
string | true | none | The professor's email address. | |
phone_number | string | false | none | The professor's phone number. |
office | Location | false | none | The location of the professor's office. |
profile_uri | string | false | none | A hyperlink pointing to the professor's official university profile. |
image_uri | string | false | none | A link to the image used for the professor on the professor's official university profile. |
office_hours | [Meeting] | false | none | A list of all office hours of the professor. |
sections | [string] | false | none | A list of references to sections a professor is currently teaching or has taught. This will be sorted in descending order with respect to end_date in the section's academic_session |
Requirement
{
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
type | any | true | none | none |
Section
Sections are the lowest level unit of organization for a class at UT Dallas. A section represents a specific instance of a course taught during a specific semester by a specific professor, at a specific time.
{
"_id": "string",
"section_number": "string",
"course_reference": "string",
"section_corequisites": {
"name": "string",
"required": 0,
"options": [
{
"type": null
}
],
"type": null
},
"academic_session": {
"name": "string",
"start_date": "string",
"end_date": "string"
},
"professors": ["string"],
"teaching_assistants": [
{
"first_name": "string",
"last_name": "string",
"role": "string",
"email": "string"
}
],
"internal_class_number": "string",
"instruction_mode": "string",
"meetings": [
{
"start_date": "string",
"end_date": "string",
"meeting_days": ["string"],
"start_time": "string",
"end_time": "string",
"modality": "string",
"location": {
"building": "string",
"room": "string",
"map_uri": "string"
}
}
],
"core_flags": ["string"],
"syllabus_uri": "string",
"grade_distribution": [0]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
_id | string | true | none | The id represents the primary key associated with the section |
section_number | string | true | none | This is the number associated with the course during its semester eg. .001 |
course_reference | string | true | none | The course reference represents a foreign key to the course record |
section_corequisites | CollectionRequirement | false | none | All of the classes that must be taken alongside this section eg. A lab for a science course |
academic_session | AcademicSession | true | none | The name of the academic session of the section |
professors | [string] | true | none | An array of references to professor objects associated with this section |
teaching_assistants | [Assistant] | false | none | An array of all TA's associated with this section |
internal_class_number | string | true | none | The internal representation of the class number unique id from university |
instruction_mode | string | true | none | The modality the course is taught it eg. Online, In Person, Hybrid |
meetings | [Meeting] | true | none | All of the meeting information associated with a section |
core_flags | [string] | false | none | Information if the course counts as a core credit for one of the core subject areas |
syllabus_uri | string | true | none | Link to the syllabus for the section listed on coursebook |
grade_distribution | [integer] | false | none | An array representing the distribution of grades for this section |
SectionRequirement
{
"section_reference": "string",
"type": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
section_reference | string | true | none | none |
allOf - discriminator: Requirement.type
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | Requirement | false | none | none |
and
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | object | false | none | none |